<!DOCTYPE html>
<html>

	<head>
		<title>我的招生代理</title>
		<#include "/header.html">
			<link rel="stylesheet" href="/gaokao-admin/statics/css/zytb.css">
			<script src="/gaokao-admin/statics/libs/zytb.js"></script>
			<script language="javascript">
				function preview(oper) {
					if(oper < 10) {
						bdhtml = window.document.body.innerHTML; //获取当前页的html代码
						sprnstr = "<!--startprint" + oper + "-->"; //设置打印开始区域
						eprnstr = "<!--endprint" + oper + "-->"; //设置打印结束区域
						prnhtml = bdhtml.substring(bdhtml.indexOf(sprnstr) + 18); //从开始代码向后取html
						prnhtml = prnhtml.substring(0, prnhtml.indexOf(eprnstr)); //从结束代码向前取html
						window.document.body.innerHTML = prnhtml;
						window.print();
						window.document.body.innerHTML = bdhtml;
					} else {
						window.print();
					}
					window.location.reload();
				}
			</script>
	</head>

	<body>
		<div id="rrapp" v-cloak>
			<div v-show="showList==0">
				<div class="grid-btn">
					<!--                    <a class="btn btn-primary" @click="add"><i class="fa fa-plus"></i>&nbsp;新增</a>-->
					<!--<a class="btn btn-primary" @click="update"><i class="fa fa-pencil-square-o"></i>&nbsp;修改</a>-->
					<!--<a class="btn btn-primary" @click="del"><i class="fa fa-trash-o"></i>&nbsp;删除</a>-->
				</div>
				<table id="jqGrid"></table>
				<div id="jqGridPager"></div>
			</div>

			<div v-show="showList==1">
				<div class="grid-btn">
					<!--<div class="form-group col-sm-2">
						<select class="form-control" v-model="Admissionstype" @keyup.enter="queryZN">
							<option>夏考</option>
							<option>升本</option>
							<option>单招</option>
							<option>考研</option>
						</select>
					</div>-->
					<!--<a class="btn btn-default" @click="queryZN">查询</a>-->
					<code class="language-html"><a href="javascript:void(0)" class="btn btn-primary" onclick="exportWord()">导出Word文档</a></code>
					<input type=button name='button_export' title='打印' class="btn btn-primary" onclick=preview(1) value=打印>
					<input type=button name='back' title='返回' class="btn btn-primary" onclick="vm.showList=0" value=返回>
				</div>
				<table id="jqGridXiakao"></table>
				<div id="jqGridPagerXiakao"></div>
			</div>
			<div v-show="showList==2">
				<div class="grid-btn">
					<code class="language-html"><a href="javascript:void(0)" class="btn btn-primary" onclick="exportWord()">导出Word文档</a></code>
					<input type=button name='button_export' title='打印' class="btn btn-primary" onclick=preview(1) value=打印>
					<input type=button name='back' title='返回' class="btn btn-primary" onclick="vm.showList=0" value=返回>
				</div>
				<table id="jqGridDanzhao"></table>
				<div id="jqGridPagerDanzhao"></div>
			</div>
			<div v-show="showList==3">
				<div class="grid-btn">
					<code class="language-html"><a href="javascript:void(0)" class="btn btn-primary" onclick="exportWord()">导出Word文档</a></code>
					<input type=button name='button_export' title='打印' class="btn btn-primary" onclick=preview(1) value=打印>
					<input type=button name='back' title='返回' class="btn btn-primary" onclick="vm.showList=0" value=返回>
				</div>
				<table id="jqGridShengben"></table>
				<div id="jqGridPagerShengben"></div>
			</div>
			<div v-show="showList==4">
				<div class="grid-btn">
					<code class="language-html"><a href="javascript:void(0)" class="btn btn-primary" onclick="exportWord()">导出Word文档</a></code>
					<input type=button name='button_export' title='打印' class="btn btn-primary" onclick=preview(1) value=打印>
					<input type=button name='back' title='返回' class="btn btn-primary" onclick="vm.showList=0" value=返回>
				</div>
				<table id="jqGridKaoyan"></table>
				<div id="jqGridPagerKaoyan"></div>
			</div>
		</div>
		<!--
    <div v-show="showList==1" class="panel panel-default">
        <div class="panel-heading">{{title}}</div>
        <form class="form-horizontal">
            <div class="form-group">
                <div class="col-sm-2 control-label">代理人姓名</div>
                <div class="col-sm-10">
                    <input type="text" class="form-control" v-model="agency.name" placeholder="代理人项目"/>
                </div>
            </div>
            <div class="form-group">
                <div class="col-sm-2 control-label">单位</div>
                <div class="col-sm-10">
                    <input type="text" class="form-control" v-model="agency.unit" placeholder="单位"/>
                </div>
            </div>
            <div class="form-group">
                <div class="col-sm-2 control-label">联系电话</div>
                <div class="col-sm-10">
                    <input type="text" class="form-control" v-model="agency.phone" placeholder="联系电话"/>
                </div>
            </div>
            <div class="form-group">
                <div class="col-sm-2 control-label">夏考业绩</div>
                <div class="col-sm-10">
                    <input type="text" class="form-control" v-model="agency.xiakao" placeholder="夏考"/>
                </div>
            </div>
            <div class="form-group">
                <div class="col-sm-2 control-label">单招业绩</div>
                <div class="col-sm-10">
                    <input type="text" class="form-control" v-model="agency.danzhao" placeholder="单招"/>
                </div>
            </div>
            <div class="form-group">
                <div class="col-sm-2 control-label">合作时间</div>
                <div class="col-sm-10">
                    <input type="text" class="form-control" v-model="agency.cooperationtime" placeholder="合作时间"/>
                </div>
            </div>
            <div class="form-group">
                <div class="col-sm-2 control-label">上级代理</div>
                <div class="col-sm-10">
                    <input type="text" class="form-control" v-model="agency.superior" placeholder="上级代理"/>
                </div>
            </div>
            <div class="form-group">
                <div class="col-sm-2 control-label"></div>
                <input type="button" class="btn btn-primary" @click="saveOrUpdate" value="确定"/>
                &nbsp;&nbsp;<input type="button" class="btn btn-warning" @click="reload" value="返回"/>
            </div>
        </form>
    </div>-->
		<!--<div v-show="showList==2" class="panel panel-default" style="position: absolute;margin-top: -500px;left: 300px;">-->
		<!--<div class="panel-heading">{{title}}</div>-->
		<!--<form class="form-horizontal">-->
		<!--<div class="form-group">-->
		<!--<div class="col-sm-2 control-label">代理人姓名</div>-->
		<!--<div class="col-sm-10">-->
		<!--<input type="text" class="form-control" v-model="agency.name" placeholder="代理人姓名"/>-->
		<!--</div>-->
		<!--</div>-->
		<!--<div class="form-group">-->
		<!--<div class="col-sm-2 control-label">单位</div>-->
		<!--<div class="col-sm-10">-->
		<!--<input type="text" class="form-control" v-model="agency.unit" placeholder="单位"/>-->
		<!--</div>-->
		<!--</div>-->
		<!--<div class="form-group">-->
		<!--<div class="col-sm-2 control-label">联系电话</div>-->
		<!--<div class="col-sm-10">-->
		<!--<input type="text" class="form-control" v-model="agency.phone" placeholder="联系电话"/>-->
		<!--</div>-->
		<!--</div>-->
		<!--<div class="form-group">-->
		<!--<div class="col-sm-2 control-label">代理人账号</div>-->
		<!--<div class="col-sm-10">-->
		<!--<input type="text" class="form-control" v-model="agency.xiakao" placeholder="设置代理人账号"/>-->
		<!--</div>-->
		<!--</div>-->
		<!--<div class="form-group">-->
		<!--<div class="col-sm-2 control-label">代理人密码</div>-->
		<!--<div class="col-sm-10">-->
		<!--<input type="password" class="form-control" v-model="agency.danzhao" placeholder="设置代理人密码"/>-->
		<!--</div>-->
		<!--</div>-->
		<!--<div class="form-group">-->
		<!--<div class="col-sm-2 control-label"></div>-->
		<!--<input type="button" class="btn btn-primary" @click="saveOrUpdate" value="确定"/>-->
		<!--&nbsp;&nbsp;<input type="button" class="btn btn-warning" @click="reload" value="返回"/>-->
		<!--</div>-->
		<!--</form>-->
		<!--</div>-->

		<script src="${request.contextPath}/statics/js/modules/gaokaobaobei/agency.js?_${.now?long}"></script>
	</body>

</html>